<h4>Tool</h4><table border="0"><tr><td valign="top"><b>Name</b></td><td valign="top">Export Polygons to HTML Image Map</td></tr><tr><td valign="top"><b>ID</b></td><td valign="top">22</td></tr><tr><td valign="top"><b>Author</b></td><td valign="top">P.Lamp, J.Wehberg, O.Conrad (c) 2016</td></tr></table><hr><h4>Description</h4>Tool to create an HTML ImageMap with polygon dataset and image. The tool requires a polygon dataset and an georeferenced image file. It outputs an html file for possible further editing. The image name in the mapfile html is hard coded to be map.png.

<b>How to build the link:</b><ul><li><b>Link</b> Select link identfier from the attribute table of the polygon data layer.
<li><b>Prefix</b> Adds a prefix to the link identifier. If just for icon with alternative text and, add <i>'#'</i>).
<li><b>Suffix</b> Adds a suffix of the link identifier. Likewise <i>'.txt, .html, .doc, .png'</i>.
</ul>The link will be built with the pattern <i>'Prefix + Identifier + Suffix'</i>.

<b>Take care!:</b><ul><li>Image and Polygon dataset have to share the same projection.<li>Special characters in link (like &ouml;, &szlig, oder &raquo;) are not automatically replaced to html entities. Replace them after creation in editor if needed.</ul>

<b>Example for GUI usage:</b><ol><li>Load your polygon dataset and open it in a map.<li>Create an image of this map using the map's menu command <i>'Save Map to Workspace'</i> and save it to an image file using the file name <i>'map.png'</i>.<li>Run this tool and save the output to the same directory as the image.<li>Open the html file in a browser for preview.<li>Further editing of the html file is suggested.</ol><hr><h4>Parameters</h4><table border="1" width="100%" valign="top" cellpadding="5" rules="all"><tr><th>Name</th><th>Type</th><th>Identifier</th><th>Description</th><th>Constraints</th></tr>
<tr><th colspan="5">Input</th></tr><tr><td>Polygons </td><td>Shapes (input)</td><td>POLYGONS</td><td></td><td></td></tr><tr><th colspan="5">Options</th></tr><tr><td>Link</td><td>Table field</td><td>LINK</td><td></td><td></td></tr><tr><td>Title</td><td>Table field</td><td>TITLE</td><td></td><td></td></tr><tr><td>File</td><td>File path</td><td>FILE</td><td></td><td></td></tr><tr><td>Link Prefix</td><td>Text</td><td>LINK_PREFIX</td><td></td><td>Default: http://www.saga-gis.org/</td></tr><tr><td>Link Suffix</td><td>Text</td><td>LINK_SUFFIX</td><td></td><td>Default: index.html</td></tr></table>